export default {
  path: "/inquiry",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "询价管理",
    rank: 17
  },
  children: [
    {
      path: "/product/inquiry",
      name: "productInquiry",
      component: () => import("@/views/Inquiry/ProductInquiry/Index.vue"),
      meta: {
        title: "产品询价单",
        roles: ["admin", "sale"],
        showParent: true
      }
    },
    {
      path: "/product/inquiry/add",
      name: "productInquiryAdd",
      component: () =>
        import("@/views/Inquiry/ProductInquiry/AddProductInquiry.vue"),
      meta: {
        title: "添加产品询价单",
        roles: ["admin", "sale"],
        showLink: false,
        showParent: true
      }
    },
    {
      path: "/product/inquiry/edit",
      name: "productInquiryEdit",
      component: () =>
        import("@/views/Inquiry/ProductInquiry/EditProductInquiry.vue"),
      meta: {
        title: "编辑产品询价单",
        roles: ["admin", "sale"],
        showLink: false,
        showParent: true
      }
    }
  ]
} satisfies RouteConfigsTable;
